package com.flash.DayProcessing.entity;

//收益计提 现金利息
public class CashInterest {
    private String cashId;//账号Id
    private String fundId;//基金id
    private String accountName;//账号名称
    private String bankId;//银行卡号
    private String bankName;//银行名称
    private int stockpileType;//存储类型  1是活期，2是定期
    private double cardRetes;//卡号利率
    private Double interest; //利息
    private int bearingTime;//计息期间  1是365，2是366
    private String dateCashStock;//统计日期
    private double money;//现金余额

    public CashInterest(){}
    public CashInterest(String cashId, String fundId, String accountName, String bankId, String bankName, int stockpileType, double cardRetes, Double interest, int bearingTime, String dateCashStock, double money) {
        this.cashId = cashId;
        this.fundId = fundId;
        this.accountName = accountName;
        this.bankId = bankId;
        this.bankName = bankName;
        this.stockpileType = stockpileType;
        this.cardRetes = cardRetes;
        this.interest = interest;
        this.bearingTime = bearingTime;
        this.dateCashStock = dateCashStock;
        this.money = money;
    }

    public String getCashId() {
        return cashId;
    }

    public void setCashId(String cashId) {
        this.cashId = cashId;
    }

    public String getFundId() {
        return fundId;
    }

    public void setFundId(String fundId) {
        this.fundId = fundId;
    }

    public String getAccountName() {
        return accountName;
    }

    public void setAccountName(String accountName) {
        this.accountName = accountName;
    }

    public String getBankId() {
        return bankId;
    }

    public void setBankId(String bankId) {
        this.bankId = bankId;
    }

    public String getBankName() {
        return bankName;
    }

    public void setBankName(String bankName) {
        this.bankName = bankName;
    }

    public int getStockpileType() {
        return stockpileType;
    }

    public void setStockpileType(int stockpileType) {
        this.stockpileType = stockpileType;
    }

    public double getCardRetes() {
        return cardRetes;
    }

    public void setCardRetes(double cardRetes) {
        this.cardRetes = cardRetes;
    }

    public Double getInterest() {
        return interest;
    }

    public void setInterest(Double interest) {
        this.interest = interest;
    }

    public int getBearingTime() {
        return bearingTime;
    }

    public void setBearingTime(int bearingTime) {
        this.bearingTime = bearingTime;
    }

    public String getDateCashStock() {
        return dateCashStock;
    }

    public void setDateCashStock(String dateCashStock) {
        this.dateCashStock = dateCashStock;
    }

    public double getMoney() {
        return money;
    }

    public void setMoney(double money) {
        this.money = money;
    }

    @Override
    public String toString() {
        return "CashInterest{" +
                "cashId='" + cashId + '\'' +
                ", fundId='" + fundId + '\'' +
                ", accountName='" + accountName + '\'' +
                ", bankId='" + bankId + '\'' +
                ", bankName='" + bankName + '\'' +
                ", stockpileType=" + stockpileType +
                ", cardRetes=" + cardRetes +
                ", interest=" + interest +
                ", bearingTime=" + bearingTime +
                ", dateCashStock='" + dateCashStock + '\'' +
                ", money=" + money +
                '}';
    }
}
